package com.supermap.originTest;


import com.supermap.data.Point3D;
import com.supermap.data.PrjCoordSys;
import com.supermap.data.processing.OSGBCacheBuilder;


public class GeneConfig {
	public static void main(String[] args) throws Exception {
		Point3D origin = new Point3D(0, 0,0);
		PrjCoordSys prj = PrjCoordSys.fromEPSG(4326);


		String[] root = {"E:\\MapData\\202408\\GeneConfig\\333\\Tile_-270_-079\\Tile_-270_-079.osgb"};


		boolean result = OSGBCacheBuilder.generateConfigFile("rigin2.scp", origin,prj,root);
		if (result) {
			System.out.println("生成配置文件成功");
		}else{
			System.out.println("生成配置文件失败");
		}
	}
}